package com.majie.utils.utils.tree;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TreeNode {

    private String id;

    private String parentId;

    private String name;

    private List<TreeNode> children;

}